package com.zjc.redis.multdatasource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.redis.core.StringRedisTemplate;

@SpringBootApplication
public class RedisMultDataSourceMain {


    @Autowired
    StringRedisTemplate stringRedisTemplate;

    @Autowired
    StringRedisTemplate stringRedisTemplate2;

    public static void main(String[] args) {

        SpringApplication.run(RedisMultDataSourceMain.class, args);
    }

}
